**# Bookmark #1 Setting

*Windows
global root  = "G:/Dropbox/Environmental Injustice/Empirical"
global rawdata = "$root/rawdata"
global workdata = "$root/workdata"
global results = "$root/results"
global outfile = "$root/outfile"

cd "$workdata"
 
**# Bookmark #2 Wildbootstrap for Table 3 Panel B: Baseline Results

*Cardiovascular Disease
use "$outfile/Individual_heartandday.dta",clear

reghdfe heart lowedu5_post_notapwater lowedu5_post lowedu5_notapwater notapwater_post lowedu5 notapwater post i.province#i.year,absorb(i.id ) cluster(i.province i.year)
boottest lowedu5_post_notapwater,seed(11111)

*Inactive Days
use "$outfile/Individual_heartandday.dta",clear

reghdfe day lowedu5_post_notapwater lowedu5_post lowedu5_notapwater notapwater_post lowedu5 notapwater post i.province#i.year,absorb(i.id ) cluster(i.province i.year)
boottest lowedu5_post_notapwater,seed(11111)

*Tumor
use "$outfile/Individual_tumor.dta",clear

reghdfe tumor lowedu5_post_notapwater lowedu5_post lowedu5_notapwater notapwater_post lowedu5 notapwater post i.province#i.year,absorb(i.id ) cluster(i.province i.year)
boottest lowedu5_post_notapwater,seed(11111)

*Daily Work Hours

use "$outfile/Individual_hour.dta",clear

reghdfe hour lowedu5_post_notapwater lowedu5_post lowedu5_notapwater notapwater_post lowedu5 notapwater post i.province#i.year,absorb(i.id ) cluster(i.province i.year)
boottest lowedu5_post_notapwater,seed(11111)


*Wage_100

use "$outfile/Individual_wage.dta",clear

reghdfe wage_100 lowedu5_post_notapwater lowedu5_post lowedu5_notapwater notapwater_post lowedu5 notapwater post i.province#i.year,absorb(i.id ) cluster(i.province i.year)
boottest lowedu5_post_notapwater,seed(11111)